<?php

namespace app\common\enum;

/**
 * 商城设置枚举类
 * Class Setting
 * @package app\common\enum
 */
class Setting extends EnumBasics
{

    // 商城设置
    const STORE = 'store';

    // 交易设置
    const TRADE = 'trade';

    // 短信通知
    const SMS = 'sms';

    // // 模板消息
    // const TPL_MSG = 'tplMsg';

    // 上传设置
    const STORAGE = 'storage';

    // 小票打印
    const PRINTER = 'printer';

    // 满额包邮设置
    const FULL_FREE = 'full_free';

    // 充值设置
    const RECHARGE = 'recharge';

    // 积分设置
    const POINTS = 'points';

    // 订阅消息设置
    const SUBMSG = 'submsg';
   // 站点设置
    const SITE = 'site';
    //微信设置
    const WECHAT='wechat';
    const WECHAT_WGK='wechat_wgk';
    //代理设置
    const AGENt='agent';
    //二维码
    const QRCODE='qrcode';
    //发票设置
    const INVOICE='invoice';
    //支付配置
    const  LARGEPAY='largepay';
    /**
     * 获取订单类型值
     * @return array
     */
    public static function data()
    {
        return [
            self::STORE => [
                'value' => self::STORE,
                'describe' => '商城设置',
            ],
            self::TRADE => [
                'value' => self::TRADE,
                'describe' => '交易设置',
            ],
            self::SMS => [
                'value' => self::SMS,
                'describe' => '短信通知',
            ],
            // self::TPL_MSG => [
            //     'value' => self::TPL_MSG,
            //     'describe' => '模板消息',
            // ],
            self::STORAGE => [
                'value' => self::STORAGE,
                'describe' => '上传设置',
            ],
            self::PRINTER => [
                'value' => self::PRINTER,
                'describe' => '小票打印',
            ],
            self::FULL_FREE => [
                'value' => self::FULL_FREE,
                'describe' => '满额包邮设置',
            ],
            self::RECHARGE => [
                'value' => self::RECHARGE,
                'describe' => '充值设置',
            ],
            self::POINTS => [
                'value' => self::POINTS,
                'describe' => '积分设置',
            ],
            self::SUBMSG => [
                'value' => self::SUBMSG,
                'describe' => '小程序订阅消息',
            ],
           self::SITE => [
                'value' => self::SITE,
                'describe' => '站点设置',
            ],
            self::WECHAT => [
                'value' => self::WECHAT,
                'describe' => '龙达微信设置',
            ],
            self::WECHAT_WGK => [
                'value' => self::WECHAT_WGK,
                'describe' => '微股客微信设置',
            ],
            self::AGENt => [
                'value' => self::AGENt,
                'describe' => '代理设置',
            ],
            self::QRCODE => [
                'value' => self::QRCODE,
                'describe' => '二维码',
            ],
            self::INVOICE => [
                'value' => self::INVOICE,
                'describe' => '发票设置',
            ],
            self::LARGEPAY => [
                'value' => self::LARGEPAY,
                'describe' => '支付配置',
            ],
        ];
    }

}